//
//  ViewController.m
//  UI12_Storyboard AndSizeClasses
//
//  Created by dllo on 16/7/29.
//  Copyright © 2016年 yh. All rights reserved.
//

#import "ViewController.h"
#define kTableView @"reuse"
#import "CustomTableViewCell.h"

@interface ViewController () <UITableViewDataSource, UITableViewDelegate>

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 10;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    CustomTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kTableView];
    cell.titleLabel.text = @"标题";
    cell.descriptionLabel.text = @"记得键 请问节温器家";
    
    
    return cell;
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
